package com.nanyang.tms.api.service.companyrecharge;

import com.nanyang.common.core.domain.ApiResult;
import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.api.dto.request.companyrecharge.CompanyRechargeAddRequest;
import com.nanyang.tms.api.dto.request.companyrecharge.CompanyRechargeQueryRequest;
import com.nanyang.tms.api.dto.response.companyrecharge.CompanyRechargePageResponse;
import com.nanyang.tms.api.dto.response.companyrecharge.RechargeAddResponse;

import java.util.Map;

public interface CompanyRechargeRpcService {
    /**
     *
     * <p>listCompanyRecharge</p>
     * <p>Description:(查询列表)</p>
     *
     * @param param
     * @return
     */
    ApiResult<PageBean<CompanyRechargePageResponse>> listCompanyRecharge(CompanyRechargeQueryRequest param);

    /**
     * 下单
     * @param param
     * @return
     */
    ApiResult<RechargeAddResponse> save(CompanyRechargeAddRequest param);

    /**
     * 查询订单状态
     * @param orderCode
     * @return
     */
    ApiResult<Integer> queryOrderState(String orderCode);
    /**
     * 支付宝扫码支付callBack
     */
    ApiResult<Boolean> scanAliPayCallBack(Map<String, String> alipayRequest);
}
